package com.aishua.fire.service;


import java.util.List;

import com.aishua.fire.entity.addressBook.AddAddressBookInfo;
import com.aishua.fire.entity.addressBook.AddAddressBookInfos;
import com.aishua.fire.entity.addressBook.AddressBookListInfo;
import com.aishua.fire.entity.addressBook.AddressBookToOrganization;

public interface AddressBookService {

	/**
	 * 保存通讯录数据
	 * @param info
	 */
	public boolean save(AddAddressBookInfo info);

	public List<AddressBookListInfo> list(String name, String phone, int pageNumber, int pageSize);

	public int listTotal(String name, String phone);

	/**
	 * 通讯录管理_修改通讯录信息
	 * @param info
	 * @return
	 */
	public boolean update(AddAddressBookInfo info);

	/**
	 * 通讯录管理_新增通讯录信息时，获取组织结构下拉框
	 * @return
	 */
	public AddressBookToOrganization selectOrganizationList();

	/**
	 * 新增通讯录员工备份
	 * @param info
	 * @return
	 */
	public boolean save_s(AddAddressBookInfos info);

	/**
	 * 通讯录管理_删除通讯录信息
	 * @param id
	 */
	public void delete(String id);

	
}
